/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "货品类型",TableName = "producttypemodel")]
    public partial class producttypemodel:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public long id { get; set; }

       /// <summary>
       ///类型名称
       /// </summary>
       [Display(Name ="类型名称")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string typeName { get; set; }

       /// <summary>
       ///父级类型 ID
       /// </summary>
       [Display(Name ="父级类型 ID")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       public long? parentId { get; set; }

       
    }
}